﻿using AiQiuQuan.Sport.Model.Enums;
using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 评论分页请求
    /// </summary>
    public class CommentPageReqestDto : PageRequest
    {
        /// <summary>
        /// 对应业务ID
        /// </summary>
        [Required]
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 业务类型：5活动、6约球、10比赛
        /// </summary>
        [Required]
        public BusinessTypeEnum BusinessType { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public Guid? ParentCommentId { get; set; }
    }
}
